﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DevExpress.Web.ASPxGridView;
using Aij1.Model;

namespace Aij1.Cms
{
    public partial class OrderMan : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void detailGrid_DataSelect(object sender, EventArgs e)
        {
            ASPxGridView detailGrid = sender as ASPxGridView;
            XpoDataSource2.Criteria = "OrderId=" + detailGrid.GetMasterRowKeyValue();
        }

        protected void Page_Init(Object sender, EventArgs e)
        {
            XpoDataSource1.Session = XpoSession;
            XpoDataSource2.Session = XpoSession;
        }
    }
}